package com.sbtr.open.material.dto;

import com.sbtr.validate.Length;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 素材集名称
 * </p>
 *
 * @author zengjw5

 */
public class MaterialInfoSearchDto implements Serializable {

    private static final long serialVersionUID=1L;

	/**
	 * 当前页码
	 */
	private Long page = 1L;
	/**
	 * 每页数量
	 */
	private Long pageSize = 10L;

    /**
     * 主键
     */
    private Long id;

    /**
     * name
     */
	@Length(max = 50, message = "名称长度不能超过50")
    private String fileName;

    /**
     * 素材集所属项目id
     */
    private Long projectId;

	/**
	 * 创建者mip账号
	 */
	private String creater;

//	/**
//	 * 版本
//	 */
//	private String version;

    /**
     * 描述
     */
    private String fileDesc;

	/**
	 * 类型
	 */
	private List<String> fileTypes;

	/**
	 * 大小
	 */
	private String fileSize;

//	/**
//	 * 数量
//	 */
//	private String materialSetNum;

	/**
	 * 创建时间
	 */
	private Date createTimeFrom;

	/**
	 * 创建时间
	 */
	private Date createTimeTo;

//	/**
//	 * 更新时间
//	 */
//	private Date updateTimeFrom;
//
//	/**
//	 * 更新时间
//	 */
//	private Date updateTimeTo;
	
	/**
     * 是否有效,默认1有效
     */
    private String isAvailable;
    private String belonger;

	public String getBelonger() {
		return belonger;
	}

	public void setBelonger(String belonger) {
		this.belonger = belonger;
	}

	public Long getPage() {
		return page;
	}

	public void setPage(Long page) {
		this.page = page;
	}

	public Long getPageSize() {
		return pageSize;
	}

	public void setPageSize(Long pageSize) {
		this.pageSize = pageSize;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public Long getProjectId() {
		return projectId;
	}

	public void setProjectId(Long projectId) {
		this.projectId = projectId;
	}

	public String getCreater() {
		return creater;
	}

	public void setCreater(String creater) {
		this.creater = creater;
	}

//	public String getVersion() {
//		return version;
//	}
//
//	public void setVersion(String version) {
//		this.version = version;
//	}


	public String getFileDesc() {
		return fileDesc;
	}

	public void setFileDesc(String fileDesc) {
		this.fileDesc = fileDesc;
	}

	public List<String> getFileTypes() {
		return fileTypes;
	}

	public void setFileTypes(List<String> fileTypes) {
		this.fileTypes = fileTypes;
	}

	public String getFileSize() {
		return fileSize;
	}

	public void setFileSize(String fileSize) {
		this.fileSize = fileSize;
	}

	//	public String getMaterialSetNum() {
//		return materialSetNum;
//	}
//
//	public void setMaterialSetNum(String materialSetNum) {
//		this.materialSetNum = materialSetNum;
//	}

	public Date getCreateTimeFrom() {
		return createTimeFrom;
	}

	public void setCreateTimeFrom(Date createTimeFrom) {
		this.createTimeFrom = createTimeFrom;
	}

	public Date getCreateTimeTo() {
		return createTimeTo;
	}

	public void setCreateTimeTo(Date createTimeTo) {
		this.createTimeTo = createTimeTo;
	}

//	public Date getUpdateTimeFrom() {
//		return updateTimeFrom;
//	}
//
//	public void setUpdateTimeFrom(Date updateTimeFrom) {
//		this.updateTimeFrom = updateTimeFrom;
//	}
//
//	public Date getUpdateTimeTo() {
//		return updateTimeTo;
//	}
//
//	public void setUpdateTimeTo(Date updateTimeTo) {
//		this.updateTimeTo = updateTimeTo;
//	}

	public String getIsAvailable() {
		return isAvailable;
	}

	public void setIsAvailable(String isAvailable) {
		this.isAvailable = isAvailable;
	}
}
